package com.xuebang.admin.util;

public final class MathUtil {

	private MathUtil() {
	}

	public static double div(int a, int b, int scale) {
		double p = Math.pow(10, scale);
		return Math.round(a * 1.0 * p / b) / p;
	}
}
